﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChatClient
{
    class ClientRoom : Room
    {
        string m_history;
        bool m_bModified;

        public ClientRoom()
        {
            m_history = "";
            m_bModified = false;
        }

        public string getHistory()
        {
            m_bModified = false;
            return m_history;
        }

        public void addMessage(string s)
        {
            m_bModified = true;
            m_history = m_history + "\n" + DateTime.Now + " - " +s;
        }
    }
}
